Component({
  properties: {
    showAdvert: {
      type: Boolean,
      value: true,
    },
  },
  methods: {
    openMall() {
      wx.navigateTo({
        url: '/pages/web/web?path=https://xwx.gzzmedu.com/xwx-mall',
      })
    },
    /**
     * @see 关闭头部广告
     */
    closeAdvert() {
      this.triggerEvent('close', false)
    },
  },
})
